package com.yuba.front.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yuba.front.domain.LikePosts;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 文章点赞视图对象 like_posts
 *
 * @author modakai
 * @date 2024-12-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = LikePosts.class)
public class LikePostsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 点赞id
     */
    @ExcelProperty(value = "点赞id")
    private Long likeId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 帖子id
     */
    @ExcelProperty(value = "帖子id")
    private Long postId;

    /**
     * 帖子标题
     */
    private String postTitle;
}
